package acs.util;

import java.util.Collection;
import java.util.Map;

public class CollectionUtil {
	public static boolean isNotEmpty(Collection<?> collection) {
		return !isEmpty(collection);
	}
	public static boolean isEmpty(Collection<?> collection) {
		return collection == null || collection.isEmpty();
	}
	public static boolean isNotEmpty(Map<?, ?> map) {
		return !isEmpty(map);
	}
	public static boolean isEmpty(Map<?, ?> map) {
		return null == map || map.isEmpty();
	}
}
